home *** CD-ROM | disk | FTP | other *** search
- " simple test cases "
- "
- *
- * These are tests for the polynomial representations.
- *
- * test4.self,v 1.3 1993/07/18 20:22:35 richards Exp
- *
- * test4.self,v
- # Revision 1.3 1993/07/18 20:22:35 richards
- # Added substitution of polynomials (not quite working properly yet).
- # Some tests for this added to test4.
- # Buttons work, selections work, and eventHandling is coming along.
- #
- # Revision 1.2 1993/05/30 21:41:14 richards
- # CVS checkin.
- #
- # Revision 1.1 1993/05/23 23:16:47 richards
- # Initial revision
- #
- # Revision 1.2 1992/08/19 02:00:39 richards
- # Added a description.
- #
- # Revision 1.1 1992/07/05 22:11:03 richards
- # Initial revision
- #
- *
- *
- *
- "
-
- _AddSlotsIfAbsent: (| foo. bar. baz. hunk. junk. roo. moo. too. loo. |)
-
- foo: aa scalar create: 'A'
- bar: aa scalar create: 'B'
- junk: foo + bar
- junk printLine " outputs A+B "
-
-
- hunk: junk * foo
- hunk printLine
-
- baz: hunk makeBoite
- baz printLine
-
- roo: foo / bar
- roo printLine
-
- moo: aa scalar create: 'C'
- too: roo substitute: moo For: foo
- too printLine.
-
- loo: hunk substitute: too For: (junk copy)
- loo printLine.
-
-
-
-